package newTest.test8;

import newTest.test8.addDao.AcountDao;
import newTest.test8.addDao.MessageDao;

public class DaoFactory {
	
	public  UserDao userDao(){

		return new UserDao(new DUserDao());
	}
	
	public  AcountDao accountDao(){

		return new AcountDao(new DUserDao());
	}
	
	public  MessageDao messageDao(){

		return new MessageDao(new DUserDao());
	}
	

}
